package net.chasing.retrofit.bean.req;

public class DownloadInfoReq {
    /*存储位置*/
    private String savePath;
    /*下载url*/
    private String url;
    /*下载的文件总长度，记录第一次下载时获取到的文件长度，因为之后获取到的长度，是减去了已经下载了的长度*/
    private long totalLength;
    /*已经下载的长度*/
    private long readLength;

    public long getTotalLength() {
        return totalLength;
    }

    public void setTotalLength(long totalLength) {
        this.totalLength = totalLength;
    }

    public String getSavePath() {
        return savePath;
    }

    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getReadLength() {
        return readLength;
    }

    public void setReadLength(long readLength) {
        this.readLength = readLength;
    }
}
